package com.venus.service.impl;

import com.venus.entity.Module;
import com.venus.mapper.ModuleMapper;
import com.venus.service.ModuleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Venus
 * @since 2020-06-08
 */
@Service
public class ModuleServiceImpl extends ServiceImpl<ModuleMapper, Module> implements ModuleService {
    @Resource
    private ModuleMapper moduleMapper;
    @Override
    public List<Module> getModByRid(Integer rid) {
        return moduleMapper.getModByRid(rid);
    }
}
